﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="hoa-hoc-1.ascx.cs" Inherits="hoa_hoc_1" %>
<%@ Import Namespace="TaiLieu" %>
<script language="javascript" type="text/javascript">

    function check_Click(id, id1234) {
        var id1 = "A_" + id; var id2 = "B_" + id; var id3 = "C_" + id; var id4 = "D_" + id;
        switch (id1234) {
            case id1:
                document.getElementById(id1).checked = true;
                document.getElementById(id2).checked = false;
                document.getElementById(id3).checked = false;
                document.getElementById(id4).checked = false;
                break;
            case id2:

                document.getElementById(id1).checked = false;
                document.getElementById(id2).checked = true;
                document.getElementById(id3).checked = false;
                document.getElementById(id4).checked = false;

                break;
            case id3:
                document.getElementById(id1).checked = false;
                document.getElementById(id2).checked = false;
                document.getElementById(id3).checked = true;
                document.getElementById(id4).checked = false;

                break;
            case id4:
                document.getElementById(id1).checked = false;
                document.getElementById(id2).checked = false;
                document.getElementById(id3).checked = false;
                document.getElementById(id4).checked = true;

                break;
        }
    }
</script>
<table style="width: 100%">
    <tr>
        <td colspan="3" style="height: 25px; background-color: #4CB203; color: White; padding-left: 2px;
            font-weight: bold; font-size: 14px">
            Trang câu hỏi trắc nghiệm
        </td>
    </tr>
</table>
<div style="height: 500px; overflow: scroll;-moz-user-select: none; -webkit-user-select: none;">
    <table id="Table2" style="width: 100%; padding-left: 5px; height: auto;">
        <%=tam%>
    </table>
</div>
<table style="width: 100%">
    <tr>
        <td style="text-align:right; width:50%">           
            <asp:LinkButton ID="btnKiemTra" runat="server" OnClick="btnKiemTra_Click" ForeColor="red" Font-Bold="true" Font-Size="Medium">Kiểm tra kết quả</asp:LinkButton>
        </td>
        <td style="text-align:right; width:50%">           
            <asp:LinkButton ID="btnlamtiep" runat="server" OnClick="btnlamtiep_Click" 
                ForeColor="#009900" >Lấy câu hỏi làm tiếp</asp:LinkButton>
        </td>
    </tr>
</table>
